package com.nativetalk.bean.promocode;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * Created by lizhun on 16/3/17.
 * 优惠码
 */
public class TdNtPromoCodeUpdate {
    private int code_id;//id
    private int promo_id;//优惠信息id
    private String promo_name;//名称
    private int is_valid;//是否有失效时间限制
    private Timestamp valid_time;//失效时间
    private BigDecimal promo_amount;//优惠金额
    private String promo_code;//优惠码()
    private int memb_id;//用户id
    private Timestamp receive_time;//领取时间
    private int state;//状态 1未领取2已领取

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getCode_id() {
        return code_id;
    }

    public void setCode_id(int code_id) {
        this.code_id = code_id;
    }

    public int getPromo_id() {
        return promo_id;
    }

    public void setPromo_id(int promo_id) {
        this.promo_id = promo_id;
    }

    public String getPromo_name() {
        return promo_name;
    }

    public void setPromo_name(String promo_name) {
        this.promo_name = promo_name;
    }

    public int getIs_valid() {
        return is_valid;
    }

    public void setIs_valid(int is_valid) {
        this.is_valid = is_valid;
    }

    public Timestamp getValid_time() {
        return valid_time;
    }

    public void setValid_time(Timestamp valid_time) {
        this.valid_time = valid_time;
    }

    public BigDecimal getPromo_amount() {
        return promo_amount;
    }

    public void setPromo_amount(BigDecimal promo_amount) {
        this.promo_amount = promo_amount;
    }

    public String getPromo_code() {
        return promo_code;
    }

    public void setPromo_code(String promo_code) {
        this.promo_code = promo_code;
    }

    public int getMemb_id() {
        return memb_id;
    }

    public void setMemb_id(int memb_id) {
        this.memb_id = memb_id;
    }

    public Timestamp getReceive_time() {
        return receive_time;
    }

    public void setReceive_time(Timestamp receive_time) {
        this.receive_time = receive_time;
    }
}
